package com.scorpio.chatnotify.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.scorpio.common.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * 自动打招呼记录
 */
@Data
@TableName("biz_auto_greet_record")
public class AutoGreetRecordEntity {
    private static final long serialVersionUID = 1L;
    private Long id;

    //发送用户
    private Long userId;

    //内容
    private String content;

    //发送人数
    private Integer sendTotal;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    //发送给的用户ID
    private String toUserIds;

}
